home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Puzzle / Drifter.swf / scripts / DefineButton2_50 / BUTTONCONDACTION on(release).as
Encoding:
Text File  |  2005-08-05  |  158 b   |  11 lines

  1. on(release){
  2.    Player = Player add "Y";
  3.    PCount += "1";
  4.    DCount -= "1";
  5.    call("chkCount");
  6.    if(PCount == CCount)
  7.    {
  8.       play();
  9.    }
  10. }
  11.